<template>
	<div id="app">
		<!-- <router-link :to="'/iboxHead'"></router-link> -->
		<router-view name="iboxHead"></router-view>
		<router-view name="search"></router-view>
		<router-view name="swiper"></router-view>
		<router-view name="home"></router-view>
		
		<!-- <router-link to="/login">123</router-link> -->
		<router-view name="login"></router-view>
		<router-view name="market"></router-view>
		<router-view name="blindbox"></router-view>
		<router-view name="mine"></router-view>
		<router-view name="detail"></router-view>
		<router-view name="detailBlindbox"></router-view>
		<router-view name="iboxFooter"></router-view>
	</div>
	
</template>

<script>
	import iboxHead from './components/iboxHead.vue'
	import swipe from './components/swiper.vue'
	import home from './components/home.vue'
	import iboxFooter from './components/iboxFooter.vue'
	import login from "./components/login.vue"
	export default {
		name: 'app',
		components: {
			iboxHead,
			swipe,
			home,
			iboxFooter,
			login
		},
		methods:{
			
		}
	}
</script>

<style lang="less">
	#app {
		font-family: 'Avenir', Helvetica, Arial, sans-serif;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-align: center;
		color: #2c3e50;
		width: 100%;
		height: 100vh;
		;

		.contain {
			width: 100%;
		}

	}
</style>
